package com.miguo.utils;

import android.text.TextUtils;

/**
 * File Names: LongUtils
 * Describe:
 * User: LinXiaoZhi(87100854@qq.com)
 * Date: 2015-08-21
 * Time: 09:26
 */
public class LongUtils {

    public static Long StrToLong(String str) {

        long result = 0;

        if (StringUtils.isEmpty(str) == false) {
            try {
                result = Long.parseLong(str);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        return result;


    }
}
